package top.jamewen.framework.sbmp.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import top.jamewen.framework.sbmp.common.model.UmsRole;

import java.util.List;

/**
 * <p>
 * 后台用户角色表 Mapper 接口
 * </p>
 *
 * @author jamewen
 * @since 2021-01-13
 */
public interface UmsRoleMapper extends BaseMapper<UmsRole> {

    /**
     * 获取用户所有角色
     */
    List<UmsRole> getRoleList(Long adminId);
}
